[include]
indjelz.animated

[object]
position = 0.5,2.35,9.29
states = muszer.b3d, muszervilagos.b3d
Statefunction = pluginstate[94]
rotateyfunction = 0.5

[object]
position = 0.5,2.35,9.29
states = muszernemvilagitsotet.b3d, muszervilagitsotet.b3d, muszernemvilagit.b3d, muszervilagit.b3d
Statefunction = if[pluginstate[94] == 0, pluginstate[96], pluginstate[96]+2]
rotateyfunction = 0.5

[object]
position = 0.488,2.337,9.266
states = needle.csv
rotatezfunction = 0.5
rotatezdirection = 0, 1, 0
rotatexfunction = -accelerationmotor[0]*0.6
rotatexdirection = 0, 0, 1
rotatexdamping = 20, 0.8

[object]
position = 0.557,2.337,9.229
states = needle.csv
rotatezfunction = 0.5
rotatezdirection = 0, 1, 0
rotatexfunction = if[pluginstate[30] == 0,1,-0.72]
rotatexdirection = 0, 0, 1
rotatexdamping = 20, 0.8



[object]
position = 0,0,0
States = muszerfal/muszerfal363sotet.b3d, muszerfal/muszerfal363.b3d
Statefunction = pluginstate[94]

[object]
position = 0,0,0
states = fulkesotet363.b3d, fulkevilagos363.b3d
statefunction = pluginstate[94]

[object]
states = menet.b3d, menetV.b3d
position = -0.36, 1.76, 8.895
statefunction = pluginstate[94]
rotatexfunction = if[brakenotchlinear == 4,0,((powernotch - brakenotchlinear) / 3)*0.75]
rotatexdirection = 1, 0, 0
rotatexdamping = 20, 0.8

[object]
states = fekkar.b3d, fekkarV.b3d
position = 0.40, 1.84, 8.9
statefunction = pluginstate[94]
rotatexfunction = if[brakenotchlinear == 4,(-1.2),0]
rotatexdirection = 0, 1, 0
rotatexdamping = 20, 0.8

[object]
states = irany.b3d, iranyV.b3d
position = 0.466,1.72,8.85
statefunction = pluginstate[94]
rotatexfunction = reversernotch * (-0.25)
rotatexdirection = 1, 0, 0
rotatexdamping = 20, 0.8

[Object]
Position = 0, 0, -1.77
States = 81-717_ajtojelzes_ny.b3d, 81-717_ajtojelzes_z.b3d
StateFunction = floor[1-doors[0]]

[object]
Position = 0, 0, 0
States = muszerfal/muszerfal363ajtokapcslesotet.b3d, muszerfal/ures.b3d, muszerfal/muszerfal363ajtokapcsle.b3d, muszerfal/ures.b3d
Statefunction = if[pluginstate[94] == 0, leftdoorstarget|rightdoorstarget, (leftdoorstarget|rightdoorstarget)+2]

[object]
Position = 0, 0, 0
States = muszerfal/ures.b3d, muszerfal/muszerfal363ajtozarva.b3d
Statefunction = floor[1-doors]

[Object]
Position = 0, 0, 0
States = fokgyem/1.b3d, fokgyem/2.b3d, fokgyem/3.b3d, fokgyem/4.b3d, fokgyem/5.b3d, fokgyem/6.b3d, fokgyem/7.b3d, fokgyem/8.b3d
Statefunction = Mod[value + pluginstate[102], 8]
RefreshRate = 1.8

[Object]
Position = 0, 0, 0
States = fokgyem/fokgyem1.b3d, fokgyem/fokgyem2.b3d, fokgyem/fokgyem3.b3d, fokgyem/fokgyem4.b3d, fokgyem/fokgyem5.b3d, fokgyem/fokgyem6.b3d, fokgyem/fokgyem7.b3d, fokgyem/fokgyem8.b3d
Statefunction = Mod[value + pluginstate[102], 8]
RefreshRate = 1.8

[object]
Position = 0, 0, 0
States = muszerfal/ures.b3d, muszerfal/muszerfal363fenybesotet.b3d, muszerfal/muszerfal363fenybe.b3d
Statefunction = if[pluginstate[94] == 0, pluginstate[93], pluginstate[93]*2]

[object]
Position = 0, 0, 0
States = muszerfal/ures.b3d, muszerfal/muszerfal363toltbesotet.b3d, muszerfal/muszerfal363toltbe.b3d
Statefunction = if[pluginstate[94] == 0, pluginstate[91], pluginstate[91]*2]

[object]
Position = 0, 0, 0
States = muszerfal/ures.b3d, muszerfal/muszerfal363utasbesotet.b3d, muszerfal/muszerfal363utasbe.b3d
Statefunction = if[pluginstate[94] == 0, pluginstate[92], pluginstate[92]*2]

[object]
Position = 0, 0, 0
States = muszerfal/ures.b3d, muszerfal/muszerfal363fulkebe.b3d
Statefunction = pluginstate[94]

[object]
Position = 0, 0, 0
States = muszerfal/ures.b3d, muszerfal/muszerfal363pultbesotet.b3d, muszerfal/muszerfal363pultbe.b3d
Statefunction = if[pluginstate[94] == 0, pluginstate[96], pluginstate[96]*2]

[object]
Position = 0, 0, 0
States = muszerfal/ures.b3d, muszerfal/muszerfal363pultvilagitsotet.b3d, muszerfal/muszerfal363pultvilagit.b3d
Statefunction = if[pluginstate[94] == 0, pluginstate[96], pluginstate[96]*2]

[Object]
Position = 0, 0, 0
States = feny/2.b3d, feny/2.b3d, feny/1-bt.b3d
StateFunction = if[pluginstate[91] == 1, 3, ReverserNotch + 1]

[Object]
Position = 0, 0, 0
States = feny/2.b3d, feny/2.b3d, feny/1-jt.b3d, feny/1-jt.b3d
StateFunction = if[pluginstate[91] == 1, 3, ReverserNotch + 1]

[Object]
Position = 1.3, 0, -1
States = feny/ures.b3d, feny/ures.b3d, feny/ext_headlight_1.csv
StateFunction = if[pluginstate[91] == 1, 3, ReverserNotch + 1]

[Object]
Position = -0.2, 0, -1
States = feny/ures.b3d, feny/ures.b3d, feny/ext_headlight_1.csv, feny/ext_headlight_1.csv
StateFunction = if[pluginstate[91] == 1, 3, ReverserNotch + 1]

[Object]
Position = 0, 0, 0
States = feny/1-bks.b3d, feny/1-bk.b3d
Statefunction = if[pluginstate[91] == 1, 0, if[reversernotch < 1, 0, pluginstate[93]]]

[Object]
Position = 0, 0, 0
States = feny/1-jks.b3d, feny/1-jk.b3d
Statefunction = if[pluginstate[91] == 1, 0, if[reversernotch < 1, 0, pluginstate[93]]]

[Object]
Position = 0, 0, 0
States = feny/1-bbs.b3d, feny/1-bb.b3d
Statefunction = if[pluginstate[91] == 1, 0, if[reversernotch < 1, 0, pluginstate[93]]]

[Object]
Position = 0, 0, 0
States = feny/1-jbs.b3d, feny/1-jb.b3d
Statefunction = if[pluginstate[91] == 1, 0, if[reversernotch < 1, 0, pluginstate[93]]]

[Object]
Position = 1, 0, -1.5
States = feny/1-bks.b3d, feny/ext_headlight_2.csv
Statefunction = if[pluginstate[91] == 1, 0, if[reversernotch < 1, 0, pluginstate[93]]]

[Object]
Position = 0.1, 0, -1.5
States = feny/1-jks.b3d, feny/ext_headlight_2.csv
Statefunction = if[pluginstate[91] == 1, 0, if[reversernotch < 1, 0, pluginstate[93]]]

[Object]
Position = 0.6, 0, -1.5
States = feny/1-bbs.b3d, feny/ext_headlight_2.csv
Statefunction = if[pluginstate[91] == 1, 0, if[reversernotch < 1, 0, pluginstate[93]]]

[Object]
Position = 0.3, 0, -1.5
States = feny/1-jbs.b3d, feny/ext_headlight_2.csv
Statefunction = if[pluginstate[91] == 1, 0, if[reversernotch < 1, 0, pluginstate[93]]]

[Object]
Position = 0, 0, 0
States = 81-717_363sotet.b3d, 81-717_363szuks.b3d, 81-717_363.b3d
Statefunction = if[pluginstate[92] == 0,0,if[pluginstate[30] == 0,1,2]]

[object]
Position = 0, -0.16, -1.7715
States = oldva.b3d, fek.b3d
Statefunction = if[brakecylinder < 5000, 0, 1]

[object]
Position = 0,0,0
States = muszerfal/ures.b3d, muszerfal/muszerfal363legfekbe.b3d
Statefunction = if[max[max[max[brakecylinder[0],brakecylinder[1]],max[brakecylinder[2],brakecylinder[3]]],brakecylinder[4]] < 5000, 0, 1]

[object]
Position = -0.119, 0.17, 0.45
States = szam\0.b3d, szam\1.b3d, szam\2.b3d, szam\3.b3d, szam\4.b3d, szam\5.b3d, szam\6.b3d, szam\7.b3d, szam\8.b3d, szam\9.b3d
Statefunction = floor[mod[abs[speedometer[0]*3.6],100]/10]

[object]
Position = -0.104, 0.17, 0.45
States = szam\0.b3d, szam\1.b3d, szam\2.b3d, szam\3.b3d, szam\4.b3d, szam\5.b3d, szam\6.b3d, szam\7.b3d, szam\8.b3d, szam\9.b3d
Statefunction = floor[mod[abs[speedometer[0]*3.6],10]]



[Object]
States = 81-717_ajtonyitasLS.b3d, 81-717_ajtonyitasLZ.b3d, 81-717_ajtonyitasL.b3d
Statefunction = if[pluginstate[92] == 0,0,if[pluginstate[30] == 0,1,2]]
TextureShiftXFunction = if[leftdoorstarget==0, if[leftdoors[0]<0.2,0,leftdoors[0]*0.575-0.115], if[leftdoors[0]>0.8,0.46,leftdoors[0]*0.575]]
[Object]
States = 81-717_ablakL1.b3d
TranslateZFunction = if[leftdoorstarget==0, if[leftdoors[0]<0.2,0,leftdoors[0]*0.85-0.17], if[leftdoors[0]>0.8,0.68,leftdoors[0]*0.85]]
[Object]
States = 81-717_ablakL2.b3d
TranslateZFunction = if[leftdoorstarget==0, if[leftdoors[0]<0.2,0,leftdoors[0]*(-0.85)+0.17], if[leftdoors[0]>0.8,-0.68,leftdoors[0]*(-0.85)]]

[Object]
States = 81-717_ajtonyitasRS.b3d, 81-717_ajtonyitasRZ.b3d, 81-717_ajtonyitasR.b3d
Statefunction = if[pluginstate[92] == 0,0,if[pluginstate[30] == 0,1,2]]
TextureShiftXFunction = if[rightdoorstarget==0, if[rightdoors[0]<0.2,0,rightdoors[0]*0.575-0.115], if[rightdoors[0]>0.8,0.46,rightdoors[0]*0.575]]
[Object]
States = 81-717_ablakR1.b3d
TranslateZFunction = if[rightdoorstarget==0, if[rightdoors[0]<0.2,0,rightdoors[0]*0.85-0.17], if[rightdoors[0]>0.8,0.68,rightdoors[0]*0.85]]
[Object]
States = 81-717_ablakR2.b3d
TranslateZFunction = if[rightdoorstarget==0, if[rightdoors[0]<0.2,0,rightdoors[0]*(-0.85)+0.17], if[rightdoors[0]>0.8,-0.68,rightdoors[0]*(-0.85)]]



[object]
states = ablaktorlo.b3d
position = 0,2.98,9.39
rotatezfunction = if[pluginstate[104]==0, value, if[floor[time/0.785]/2 == floor[floor[time/0.785]/2], max[value-delta*2,0], min[value+delta*2,1.57]]]

[object]
states = ablaktorloS.b3d
position = -0.56,2.78,9.39
rotatezfunction = if[pluginstate[103]==0, value, if[floor[time/0.5833]/2 == floor[floor[time/0.5833]/2], max[value-delta*1.5,-0.875], min[value+delta*1.5,0]]]

[object]
states = ablaktorloSS.b3d
position = 0.56,2.78,9.39
rotatezfunction = if[pluginstate[105]==0, value, if[floor[time/0.5833]/2 == floor[floor[time/0.5833]/2], max[value-delta*1.5,0], min[value+delta*1.5,0.875]]]


[object]
states = needle_pressuregauge_upper.csv
position = 0.3992,2.154,9.211
rotatezfunction = 0.5236
rotatezdirection = 1, 0, 0
rotatexfunction = -(brakecylinder/100000*0.7854-2.3562)
rotatexdirection = 0, 0, 1

[object]
states = needle_pressuregauge_red.csv
position = 0.2712,2.154,9.211
rotatezfunction = 0.5236
rotatezdirection = 1, 0, 0
rotatexfunction = -(mainreservoir/100000*0.2836-2.2689)
rotatexdirection = 0, 0, 1

[object]
states = needle_pressuregauge_upper.csv
position = 0.2712,2.154,9.21
rotatezfunction = 0.5236
rotatezdirection = 1, 0, 0
rotatexfunction = -(brakepipe/100000*0.2836-2.2689)
rotatexdirection = 0, 0, 1
